package com.lusang.market.domain;

import java.math.BigDecimal;

import com.lusang.basics.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyom
 * @since 2022-08-25
 */
public class Business extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private Long clueId;
    /**
     * 关联商机商品表
     */
    private Long productId;
    private String productName;
    private BigDecimal productPrice;

    //关联线索表
    private Clue clue;
    //关联商机产品表
    private BusinessProduct product;

    public Clue getClue() {
        return clue;
    }

    public void setClue(Clue clue) {
        this.clue = clue;
    }

    public BusinessProduct getProduct() {
        return product;
    }

    public void setProduct(BusinessProduct product) {
        this.product = product;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getClueId() {
        return clueId;
    }

    public void setClueId(Long clueId) {
        this.clueId = clueId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    @Override
    public String toString() {
        return "Business{" +
        ", id=" + id +
        ", name=" + name +
        ", clueId=" + clueId +
        ", productId=" + productId +
        ", productName=" + productName +
        ", productPrice=" + productPrice +
        "}";
    }
}
